/**
 * Created by liuhe on 2016/12/16.
 */
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const mongoose = require("mongoose");
//申明 schema
let BusinessConfigSchema = new mongoose.Schema({
    siteInfo: {
        type: mongoose.Schema.Types.ObjectId,
        required: true,
        ref: 'GlobalSetup'
    },
    editedInPC: {
        type: Boolean,
        required: true,
        default: false
    } //是否在pc端编辑过，若编辑过 true 不可以进行手机建站
});
exports.default = mongoose.model('BusinessConfig', BusinessConfigSchema);
